package com.xxx.yuedong.community.pojo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
* 关注表
* @TableName tb_follow
*/
@Data
@TableName("tb_follow")
public class Follow implements Serializable {
    /**
    * id
    */
    private Long id;
    /**
    * 关注者id
    */
    private Long fromId;
    /**
    * 被关注者id
    */
    private Long toId;
    /**
     * 关注时间
     */
    private LocalDateTime createTime;
}
